package com.kgcx.coupon.vo.ad;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * @author panjin.
 * @date 2017/12/18.
 */
@Getter
@Setter
@ApiModel(value = "AdImage", description = "广告图片对象")
public class AdImage {

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "imageAddress", example = "http://xxx", required = true)
    private String imageAddress;

    /**
     * 是否有链接
     */
    @ApiModelProperty(value = "hasLink", example = "1")
    private byte hasLink = 0;

    /**
     * 链接地址
     */
    @ApiModelProperty(value = "linkAddress", example = "http://xxx")
    private String linkAddress;

    /**
     * 图片排序(如1在2前面)
     */
    @ApiModelProperty(value = "sort", example = "1")
    private int sort = 1;
}
